From d532c0e5c21d4974d873a0401cdca247f09fc0c8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 23 Nov 2010 13:34:48 -0500 Subject: [PATCH] Test some wilder names for classes, etc --- gtk/tests/stylecontext.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/tests/stylecontext.c b/gtk/tests/stylecontext.c index 8888160b0a..e6238353e1 100644 --- a/gtk/tests/stylecontext.c +++ b/gtk/tests/stylecontext.c @@ -43,6 +43,7 @@ test_parse_at (void) "@define-color color red;", "@define-color color mix(shade (#121212, 0.5), mix (rgb(10%,20%,100%), @blue,0.5), 0.2);", "@define-color blue @blue;", + "@define-color blue123_a-b #123;", NULL }; @@ -66,6 +67,7 @@ test_parse_at (void) "@define-color color mix();", "@define-color color rgba(50%, 50%, 50%);", "@define-color color rgb(50%, a);", + "@define-color 1col rgb(50%, a);", "@three-dee { some other crap };", NULL }; @@ -132,6 +134,7 @@ test_parse_selectors (void) "E, F {}", "E, F /* comment here */ {}", "E,/* comment here */ F {}", + "E1.e1_2 #T3_4 {}", NULL }; @@ -150,6 +153,7 @@ test_parse_selectors (void) * the last element */ "E:focused tab {}", + "E..bla {}", NULL }; -- 2.30.2